//
//  NoLoginLogoView.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/8/18.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

class NoLoginLogoView: UIView {
    
    @IBOutlet weak var bottomLabel: UILabel!


    @IBAction func btnDidTap(_ sender: UIButton) {
        
        
        if UserViewModel.shared.userIsLogin() == false {
            
            let temp = LoginViewController()
            
            viewController().present(temp, animated: true, completion: nil)
            
            
            
        }
        
    }
    
    
    
    
    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */

}
